package com.spark.colliery.module.mine.fragment

import android.os.Bundle
import android.view.View
import com.spark.colliery.R
import com.spark.common.BaseFragment
import kotlinx.android.synthetic.main.frag_forget_with_id.*

/**
 *  Foregetpassword that u need input the id
 */

class ForgetWithIdFragment : BaseFragment() {
    companion object {

        fun newInstance(): ForgetWithIdFragment {
            return ForgetWithIdFragment()
        }
    }

    override fun contentResId(): Int {
        return R.layout.frag_forget_with_id
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
        btn_next.setOnClickListener {
            activity?.apply {
                supportFragmentManager.beginTransaction()
                        .replace(R.id.fl_content, ForgetWithSecuityFragment.newInstance())
                        .addToBackStack(null)
                        .commit()
            }
        }
    }


}
